package com.kdgz.kdgz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class MainPageController {
    @GetMapping(value="/")
    public String login(){
        return "page/login";
    }
    @GetMapping(value="/register")
    public String register(){
        return "page/register";
    }
    @GetMapping(value="/main")
    public String main(){
        return "page/main";
    }
    @GetMapping(value = "/staff")
    public String staff(){
        return "page/staff";
    }
    @GetMapping(value = "/rule")
    public String rule(){
        return "page/rule";
    }
    @GetMapping(value = "/orderPage")
    public String packageRouter(){
        return "page/order";
    }
    @GetMapping(value = "/job")
    public String job(){
        return "page/job";
    }
    @GetMapping(value = "/account")
    public String account(){
        return "page/account";
    }
    @GetMapping(value = "/finance")
    public String finance(){
        return "page/finance";
    }
}
